/**
 * 根据音乐id删除音乐
 * @param musicId
 * @returns
 */
function delMusic(musicId){
	$.ajax({
        url:V_PATH+'/delMusic.action',
        type:'post',
        data:{"musicId":musicId},
        dataType:"json",
        success:function(data){
        	if(data.result=="T"){
        		//删除成功，加载当前页面
        		loadPage(V_PATH+"/upmusic.action");
        	}else{
        		alert("删除失败，请重试");
        	}
        }
    });
}


/**
 * 跳转到上传音乐目录
 * @returns
 */
function uploadMusic(){
	loadPage(V_PATH+"/frommusic.action");
}

/**
 * 跳转到上传视频页面
 * @returns
 */
function uploadVideo(){
	loadPage(V_PATH+"/fromvedio.action");
}

/**
 * 根据视频id删除视频
 * @param videoId
 * @returns
 */
function delVideo(videoId){
	$.ajax({
        url:V_PATH+'/delVideo.action',
        type:'post',
        data:{"videoId":videoId},
        dataType:"json",
        success:function(data){
        	if(data.result=="T"){
        		//删除成功，加载当前页面
        		loadPage(V_PATH+"/upvedio.action");
        	}else{
        		alert("删除失败，请重试");
        	}
        }
    });
}